package com.cskaoyan.service;

import com.cskaoyan.bean.CskaoyanmallAd;
import com.cskaoyan.bean.bo.ExtensionAdBo;
import com.cskaoyan.bean.vo.AdVo;

import java.util.List;

/**
 * 推广管理
 *      广告管理
 *          by 桂圆
 */
public interface ExtensionAdvertisementService {

//    List<CskaoyanmallAd> queryAdList(Integer page, Integer limit, String sort, String order);

    AdVo vagueQueryAds(Integer page, Integer limit, String sort, String order, String name, String content);

    Integer deleteAdvertisement(CskaoyanmallAd adBo);

    CskaoyanmallAd addAdvertisement(ExtensionAdBo adBo);

    void updateAd(ExtensionAdBo adBo);
}
